<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<%@ include file="../common/commonCssJs.jsp" %>
<script type="text/javascript">
	function chkform() {
		return true;
	}
</script>
</head>
<body>

<div id="wapper">
	<header>
	<%@ include file="../common/layout/header.jsp"%>
	</header>
	
	<nav>
	<%@ include file="../common/layout/nav.jsp"%>
	</nav>
	
	<aside>
	<%@ include file="../common/layout/aside.jsp"%>
	</aside>
	
	<section>
	<form action="insertMember" method="POST" onsubmit="return chkform();">
		<table>
			<tr>
				<td>아이디</td>
				<td><input type="text" id="id" name="id" style="width:100px" /></td>
			</tr>
			<tr>
				<td>비밀번호</td>
				<td><input type="password" id="password" name="password" style="width:100px" /></td>
			</tr>
			<tr>
				<td>비밀번호확인</td>
				<td><input type="password" id="passwordconfirm" name="passwordconfirm" style="width:100px" /></td>
			</tr>
			<tr>
				<td>이름</td>
				<td><input type="text" id="name" name="name" style="width:100px" /></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="확인" /><input type="button" id="cancel" value="취소" /> </td>
			</tr>
		</table>
	</form>
	</section>
	
	<footer>
	<%@ include file="../common/layout/footer.jsp"%>
	</footer>
</div>	
	
<script type="text/javascript">
	$(function() {
		$("#id").focus();
		$("#cancel").click(function() {
			history.back();
		});
	});
</script>	
</body>
</html>